<div class="post">
	<div class="post_title">
		<h1 class="left">Showing character</h1>
		<div class="clearer">&nbsp;</div>
	</div>
	<div class="post_body">
						<div>
							<table class="show">
								<tr>
									<td style="font-weight: bold;">Name:</td>
									<td>{$player->name}</td>
								</tr>
								<tr>
									<td style="font-weight: bold;">Vocation:</td>
									<td>{$player->vocationName}</td>
								</tr>
								<tr>
									<td style="font-weight: bold;">Level:</td>
									<td>{$player->level}</td>
								</tr>
								<tr>
									<td style="font-weight: bold;">Sex:</td>
									<td>
									{if $player->sex eq 1}
										Female
									{else}
										Male
									{/if}
									</td>
								</tr>
								<tr>
									<td style="font-weight: bold;">Group:</td>
									<td>{$player->group->name}</td>
								</tr>
								<tr>
									<td style="font-weight: bold;">Last visit:</td>
									<td>{date('j F, Y, g:i a', $player->lastLogin)}</td>
								</tr>
								<tr>
									<td style="font-weight: bold;">Created at:</td>
									<td>
									{date('j F, Y, g:i a', $playeraac['creationdate'])}
									</td>
								</tr>
								<tr>
									<td style="font-weight: bold;">Status:</td>
									<td>
									{if $player->premiumEnd gt time()}
									<font style="color: dark-green;">Premium Account</font>
									{else}
									Free Account
									{/if}
									</td>
								</tr>
								{if $playeraac['comment'] neq ""}
								<tr>
									<td style="font-weight: bold;">Comment:</td>
									<td style="border: 1px brown solid; background-color: #fff7b8; text-align: center; padding: 5px 5px 5px 5px;">
									{$playeraac['comment']}
									</td>
								</tr>
								{/if}
							</table>
							<br />
							{if $playeraac['hiddeninfo'] neq 1}
							{@lewa is 1}
							<table>
							<strong>Other characters on this account:</strong>
							{foreach table="$player->account" index="i" value="oplayers"}
							{if $player->name neq @oplayers->name}
							<tr>
								<td style="padding-right: 10px;">{@lewa}.</td>
								<td><a href="?m=character&a=show&id={@oplayers->id}">{@oplayers->name}</a></td>
								<td style="padding-left: 10px;"></td>
							</tr>
							{@lewa is @lewa+1}
							{/if}
							{foreachelse}
							<tr>
								<td>There are no other characters on this account.</td>
							</tr>
							{/foreach}
							</table>
							{/if}
							<br />
							<strong>Search an another character:</strong><br />
							<form action="?m=character&a=search" method="post">
								<table style="margin-top: 10px;">
									<tr>
										<td>Name:</td>
										<td><input type="text" name="name" /></td>
										<td style="padding-left: 10px"><input type="image" src="view/deadtouch/img/button_go.gif" /></td>
									</tr>
								</table>
							</form>
						</div>
	</div>
	<div class="post_bottom"></div>
</div>